 <!DOCTYPE html>
<html>
<head>
<script src="js/jquery-2.0.0.min.js"></script>
<script src="js/game.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<input type="hidden" id="tempValue" value="">

<script>
$(document).ready(function(){
	createChessBoard(10,10);
	var temp="";
	
	$("div.cell").on("click",function(){
		temp = $("#tempValue").val();
		if( temp == "")
		{
			$("#tempValue").val($(this).text());
			//alert("Trang");
		}
		else if(temp == $(this).text())
		{
			$("#tempValue").val("");
			alert("We are matched!!!");
		}
		else
		{
			$("#tempValue").val($(this).text());
		}
		
	});
});
</script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>

</body>
</html>